<?php
class Page_Model_Message {

	const ERROR   = 'error';
	const SUCCESS = 'success';
	
	protected $_type;
	protected $_text;
	
	public function __construct($type, $text) {
		$this->_type = $type;
		$this->_text = $text;
	}
	
	public function getType() {
		return $this->_type;
	}
	
	public function getText() {
		return $this->_text;
	}

}